<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
{if isset($aAlbums) && count($aAlbums) > 0}
{foreach from=$aAlbums item=aProducts}
    {if isset($aProducts.products) && count($aProducts.products) > 0}
        <div class="store_product">
            <div class="category">
                <h3 class="category_name">{$aProducts.title}</h3>
                {if count($aProducts.products) > 0}
                    <div class="clear"></div>
                    {*<a href="#" class="scrollnave scrollnave_left">  </a>*}
                    <ul class="scroller">
                        {foreach from=$aProducts.products item=aListing}
                        <li>
                            <a href="{$aListing.url}" title="{$aListing.title}">
                                {img server_id=$aListing.server_id title=$aListing.title path='marketplace.url_image' file=$aListing.image_path suffix='_200_square' max_width='140' max_height='140'}
                                <p class="price">
                                    {if $aListing.price == '0.00'}
                                        {phrase var='marketplace.free'}
                                    {else}
                                            {$aListing.currency_id|currency_symbol}{$aListing.price|number_format:2}
                                    {/if}
                                </p>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                    {*<a href="#" class="scrollnave scrollnave_right"> </a>*}
                    <div class="clear"></div>
                {/if}
            </div>    
        </div>
    {/if}
{/foreach}
{/if}